package data.handle;

//封装在文件读取中获得的关键数据
public class PackMessage {

    private int partKey;
    private int quantity;
    private int brand;
    private double price;

    private boolean endFlag = false;

    public int getPartKey() {
        return partKey;
    }

    public void setPartKey(int partKey) {
        this.partKey = partKey;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getBrand() {
        return brand;
    }

    public void setBrand(int brand) {
        this.brand = brand;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public boolean isEndFlag() {
        return endFlag;
    }

    public void setEndFlag(boolean endFlag) {
        this.endFlag = endFlag;
    }

}
